<template>
  <avue-crud ref="crud" :option="optionCrudRowShow" :data="dataCrudRowShow" @expand-change="expandChangesCrudRowShow">
    <template slot="expand" slot-scope="{row}">
      <el-row :gutter="10">
        <el-col v-for="(item2,index2) in dataCrudRowShowDetail" :key="index2" :span="8">
          <div class="wordEllipsis"><span>{{ item2.dataCrudRowShowDetailKey }}：</span><span
            :title="item2.dataCrudRowShowDetailValue"
          >{{ item2.dataCrudRowShowDetailValue }}</span></div>
        </el-col>
      </el-row>
    </template>
  </avue-crud>
</template>

<script>
export default {
  name: 'TablePageRowShow',
  props: ['optionCrudRowShow', 'dataCrudRowShow', 'dataCrudRowShowDetail'],
  data() {
    return {}
  },
  methods: {
    expandChangesCrudRowShow(row, expendList) {
      this.$emit('expandChangesCrudRowShow', row, expendList)
    }
  }
}
</script>

<style scoped>

</style>
